package com.tongzhou.tongzhou.account.dao;

import java.util.List;

import com.tongzhou.db.exception.DBException;
import com.tongzhou.tongzhou.account.model.AccountContact;
import com.tongzhou.tongzhou.account.model.SearchAccountContactCondition;

public interface IAccountContactDAO {
	public List<AccountContact> listAccountContact(SearchAccountContactCondition condition) throws DBException;
	public int addAccountContact(AccountContact accountContact) throws DBException;
	public void deleteAccountContact(int id) throws DBException;
	public AccountContact getAccountContactById(int id) throws DBException;
	public void updateAccountContact(AccountContact accountContact) throws DBException;
}
